package excercise;

public class Q40_Books {
	
	//멤버변수
		
	private String mno;
	private String title;
	private String writer;
		
		//생성자	:	만들때는 void 를 사용하지 않음
	
		public Q40_Books(){
			
			this.mno = "";
			this.title = "";
			this.writer = "";
			
		}
		
		
		public Q40_Books(String mno, String title, String writer){
			
			this.mno = mno;
			this.title = title;
			this.writer = writer;
			
		}
		
		//getter, setter
		
		public void setMno(String mno) {
			
			this.mno = mno;
			
		}
		
		public String getMno() {
			
			return mno;
		
		}
		
		public void setTitle(String title) {
			
			this.title = title;
			
		}
		
		public String getTitle() {
			
			return title;
			
		}
		
		public void setWriter(String writer) {
			
			this.writer = writer;
			
		}
		
		public String getWriter() {
			
			return writer;
			
		}
		
		
		//equals
		
		@Override
	public boolean equals(Object obj) {
		
		return super.equals(obj);
		
	}
	
	
}
